package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BaseMedicine;

public class Medicine extends BaseMedicine {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public Medicine() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public Medicine(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public Medicine(java.lang.Integer id, java.lang.String name,
			java.lang.String desc, java.lang.Integer npcSell,
			java.lang.Integer dropRate, java.lang.Integer cropLevel,
			java.lang.Integer eatGrowup, java.lang.Integer eatLevel,
			java.lang.Integer eatInterval, java.lang.Integer eatAttack,
			java.lang.Integer eatDefense, java.lang.Integer eatLife,
			java.lang.Integer duration) {

		super(id, name, desc, npcSell, dropRate, cropLevel, eatGrowup,
				eatLevel, eatInterval, eatAttack, eatDefense, eatLife, duration);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setCropLevel(0);
		this.setDesc("");
		this.setDropRate(0);
		this.setDuration(0);
		this.setEatAttack(0);
		this.setEatDefense(0);
		this.setEatGrowup(0);
		this.setEatInterval(0);
		this.setEatLife(0);
		this.setId(0);
		this.setName("");
		this.setNpcSell(0);
		this.setEatLevel(0);
	}

}